import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

/**
 * log4j转到log4j 2，读取配置log4j2.xml
 *
 * @Author gucb
 * @Date 2017/6/14.
 */
public class Log4jDemo {

  protected static final Logger log = LogManager.getLogger("jdk");

  public static void main(String[] args) {
    log.info("hello world");
  }
}
